﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="export.aspx.cs" Inherits="bzxxxt.export" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>历史数据导入导出V1</title>
</head>
<body>
    <div style="margin:100px">
        <form id="form1" runat="server">
            <div style="margin:20px">历史数据导入：<asp:TextBox ID="txtFileName" runat="server" Visible="False"></asp:TextBox>
                <br />
                (1)首先在系统中创建好骨灰堂，并按模板创建好穴位！<br />
                (2)请选择骨灰堂，然后导出旧系统中的数据，并下载（excel格式的数据）<br />                
                (3)打开新下载的数据，然后按新的标准填写好新栋、新楼层，新区，新排，新层，新列等数据 <br />                
                (4)然后导入修改后的Excel文件中的数据
            </div>
            <div style="margin:20px">
                骨灰堂:<asp:DropDownList ID="plist" runat="server"></asp:DropDownList>
                时间:<asp:TextBox ID="txtTime" runat="server">2016-7-21</asp:TextBox>
                <asp:Button ID="btnExport" runat="server" Text="导出数据" OnClick="btnExport_Click" />
                <asp:HyperLink ID="linkFile" runat="server">[linkFile]</asp:HyperLink>
            </div>
            <div style="margin:20px">
                请选择要导入的布局文件:<asp:FileUpload ID="fileLayoutUpLoad" runat="server" />   
                <asp:Button ID="btnUploadLayout" runat="server" Text="上传" OnClick="btnUploadLayout_Click" />
                <asp:Button ID="btnParseFile" runat="server" Text="解析" OnClick="btnParseFile_Click"  />
                <asp:Button ID="btnCreateLayout" runat="server" OnClick="btnCreateLayout_Click" Text="创建穴位" />                                
                <asp:Label ID="Label1" runat="server" Text="要排除的数字:"></asp:Label>
                <asp:TextBox ID="txtExclude" runat="server">4,7</asp:TextBox>
                <asp:HyperLink ID="linkUpload3" runat="server">HyperLink</asp:HyperLink>
            </div>
            <div style="margin:20px">
                请选择要导入的数据文件:<asp:FileUpload ID="fileUpLoad" runat="server" />   
                <asp:Button ID="btnUpload" runat="server" Text="上传" OnClick="btnUpload_Click" />
                <asp:Button ID="btnCreateGrave" runat="server" OnClick="btnCreateGrave_Click" Text="创建穴位" />
                <asp:Button ID="btnImport" runat="server" OnClick="btnImport_Click" Text="导入数据" /><br />
                <asp:Button ID="btnOnce" runat="server" Text="直接导入" OnClick="btnOnce_Click" />
                <asp:HyperLink ID="linkUpload" runat="server">HyperLink</asp:HyperLink>
            </div>
            <div style="margin:20px; color:red">
                <asp:Label ID="lblMsg" runat="server" ForeColor="Red" Text=""></asp:Label>                
            </div>
            <hr />
            请选择要上传的文件:<asp:FileUpload ID="fileUpload2" runat="server" />  <br />
            请选择要上传的位置:<asp:TextBox ID="txtDir" runat="server"></asp:TextBox><br />
            <asp:HyperLink ID="linkUpload2" runat="server">HyperLink</asp:HyperLink>
            <asp:Button ID="btnUpload2" runat="server"  Text="上传" OnClick="btnUpload2_Click" />
        </form>
    </div>
</body>
</html>
